package com.xmy.cultivate.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xmy.cultivate.entity.Course;
import com.xmy.cultivate.entity.CourseScheduling;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xmy.cultivate.entity.CourseSchedulingDetail;
import com.xmy.cultivate.entity.OrderApply;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * <p>
 * 排课表 Mapper 接口
 * </p>
 *
 * @author min
 * @since 2022-07-28
 */
public interface CourseSchedulingMapper extends BaseMapper<CourseScheduling> {

    @Select("select * from course_scheduling_detail ${ew.customSqlSegment}")
    public List<CourseSchedulingDetail> selectCurriculum(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}
